module.exports = {
  pluginOptions: {
    quasar: {
      importStrategy: 'kebab',
      rtlSupport: false
    }
  },
  transpileDependencies: [
    'quasar'
  ],
  devServer: {
    disableHostCheck: true,
    port:40080,
    proxy: {
      '/api': {
        // 此处的写法，目的是为了 将 /api 替换成 http://192.168.1.56:8090
        target: 'http://192.168.1.56:8090',
        // 允许跨域
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    },
    https: false
  },
  publicPath: './',
}
